package org.seckill.dao;

import org.apache.ibatis.annotations.Param;
import org.seckill.entity.SuccessKilled;
import org.springframework.stereotype.Repository;

/**
 * Created by sanmao on 2017/6/15.
 */
public interface SuccessKilledDao {

    int insertSuccessKilled(@Param("secKillId") long secKillId, @Param("userPhone") long userPhone );

    SuccessKilled queryByIdWithSeckill(@Param("secKillId")long secKillId,@Param("userPhone") long userPhone);


}
